package com.ynkbny.domain.mongo;

import cn.hutool.json.JSONObject;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 上报日志-实体层
 *
 * @author : juzipi123
 * @date : 2023-7-20
 */
@Document(collection = "sbLog") //指定要对应的文档名（表名）
public class SbLog {

    @Id
    private String id;

    /**
     *返回码
     */
    private String responseCode;

    /**
     *返回详情
     */
    private String responseMessage;

    /**
     *其他数据
     */
    private JSONObject data;

    /**
     *统一社会信用代码
     */
    private String enterpriseCode;

    /**
     *上传数据项编码
     */
    private String dataCode;

    /**
     *采集数据项指标名称
     */
    private String collectItemName;

    /**
     *数据统计时间
     */
    private String statDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }

    public JSONObject getData() {
        return data;
    }

    public void setData(JSONObject data) {
        this.data = data;
    }

    public String getEnterpriseCode() {
        return enterpriseCode;
    }

    public void setEnterpriseCode(String enterpriseCode) {
        this.enterpriseCode = enterpriseCode;
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }

    public String getStatDate() {
        return statDate;
    }

    public void setStatDate(String statDate) {
        this.statDate = statDate;
    }

    public String getCollectItemName() {
        return collectItemName;
    }

    public void setCollectItemName(String collectItemName) {
        this.collectItemName = collectItemName;
    }
}
